﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ChuanYe.WorkLogManagement.BLL;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace ChuanYe.WorkLogManagement.Api.Controllers
{

    /// <summary>
    /// 测试
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class TestController : ControllerBase
    {

        /// <summary>
        /// 默认输出
        /// </summary>
        /// <returns></returns>
        [HttpPost]
        public string HelloWorld() {
            TestBLL.Instance.InitDatabseSystem();
            return "你好世界," + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); 
        }
    }
}